//
//  TestUIMenuController.m
//  ProjectDemo
//
//  Created by IOS3 on 2019/1/7.
//  Copyright © 2019 IOS3. All rights reserved.
//

#import "TestUIMenuController.h"

@interface TestUIMenuController ()

@end

@implementation TestUIMenuController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UITextView *text = UITextView.new;
    text.font = [UIFont systemFontOfSize:15];
    text.backgroundColor = UIColor.grayColor;
    text.frame = CGRectMake(0, 100, 300, 300);
    text.text = @
        "text one \n"
        "“我知道。”小男孩头也不抬地回答。\n"
        "“哦？那你为什么还在扔？谁在乎呢？”"
        "“这条小鱼在乎！”男孩儿一边回答，一边拾起一条鱼扔进大海。\n"
        "“这条在乎，这条也在乎！还有这一条，这一条，这一条……”\n"
        "天堂没有睡懒觉\n"
        "天低低地垂着，铅灰色的云像一块漫了过多水分的湿布挂在天空。\n";
    [self.view addSubview:text];
    
    
    UILongPressGestureRecognizer *gesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(textViewLongPress:)];
    [text addGestureRecognizer:gesture];
    
}



- (void)textViewLongPress:(UILongPressGestureRecognizer *)gesture {
    
}


@end
